package com.hcb.tonguetiphealth.model;

import com.hcb.tonguetiphealth.manager.Format;


public class FileInfo extends AbstractTask{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String name;
	private String url;
	
	public FileInfo() {}
	public FileInfo(String name, String url) {
		this.name = name;
		this.url = url;
	}

	public String getName() {
		return Format.forbidNullStr(name);
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getUrl() {
		return Format.forbidNullStr(url);
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String toString() {
		return name + " : " + url;
	}
}
